<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<TITLE>{SITENAME}</TITLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<meta name="keywords" content="电影、最新电影、经典电影、电影搜索、电影评论、电影排行榜,电影网站."/>
<meta name="description" content="电影提供最新的电影介绍和电影评论,通过电影搜索,记录你想看和看过的电影,顺便打分、加标签、写影评。推荐好电影给你。" />
<LINK rel=stylesheet type=text/css href="{PUB}css/global.css">
<LINK rel=stylesheet type=text/css href="{PUB}css/packed_douban53.css">
<LINK rel=stylesheet type=text/css href="{PUB}css/packed__all12.css">
<LINK rel=stylesheet type=text/css href="{PUB}css/main.css">
<link rel="stylesheet" type=text/css href="{PUB}css/re.css"  />
<link href="{PUB}css/jquery.ui.all/jquery.ui.all.css" rel="stylesheet" type="text/css"/>

<script type="text/javascript" src="{PUB}js/jquery.min4.js"></script>
<script type="text/javascript" src="{PUB}js/rating.js"></script>
<script type="text/javascript" src="{PUB}js/dialog.js"></script>
<script type="text/javascript" src="{PUB}js/re.js"></script>
<script src="{PUB}js/jquery-ui.min.js"></script>
</head>
<body>
<!-- INCLUDE header.htm -->
<div id="content" >
<script type="text/javascript">

$(document).ready(function() {
	$("#menu1 .clearfix").addClass("on");
	$("#content_menu1").show();
	fristmid = parseInt($("#menu1_val")[0].value);
	var timerid = setInterval("startRequest('"+ fristmid + "')",3000);
	var hl = $("#hot_movies_menu li"),content = $(".hotmovie_box .content");
	hl.mouseover(function(){
		$(".menu li .clearfix").removeClass("on");
		$("#"+this.id+" .clearfix").addClass("on");
		content.hide();
		$("#content_"+this.id).show();
		clearInterval(timerid);
		timerid = 0;
		$("#commentpage").val('1');
		mid = parseInt($("#" + this.id + '_val')[0].value);
		timerid = setInterval("startRequest('" + mid + "')",3000);
		$("#timerid").val(timerid);
		return false;
	});
	$(hl[0]).addClass("on");
});

function startRequest(mid){		
	var i = parseInt($("#commentpage")[0].value);
	if(i != '0'){
		$("#hotcomments_" + mid).fadeOut('slow', function(){
			comment = $.ajax({url:"/movie/ajax/getcomment/" + mid + "/" + i,async:false});
			result = comment.responseText;
			if (result == 'empty'){
				$("#hotcomments_" + mid).html('没有最新短评。');
				$("#commentpage").val('0');
			}else{
				$("#hotcomments_" + mid).html(result);
			}
		});
		$("#hotcomments_" + mid).fadeIn("slow");
		i = i + 1;
		$("#commentpage").val(i);
	}else{
		var timerid = parseInt($("#timerid")[0].value);
		clearInterval(timerid);
	}
}
</script>

<div class="grid-16-8 clearfix">
   <div class="article">
    <h2 class="mb5">热映中……</h2>
    <div class="hotmovie_box clearfix">
        <div class="left_conner"><em></em><b></b></div>
			<input type="hidden" id="commentpage" value="1"/>
			<input type="hidden" id="timerid" value=""/>
			<!-- BEGIN hotmovies -->
            <div class="content clearfix" id="content_menu{k}">                
                <div class="headerline_img"><a href="/movie/{id}/"><img src="{PUB}upload/thumb{thumb}" /></a></div>
                <div class="headerline_content">
                    <div class="title clearfix"><a href="/movie/{id}/">{title}</a><span class="bigstar{rating_img}"></span><span class="grade">{rating}</span></div> 
                     {subdesc}<br>
                     <span>{collect}人 看过 /  {wish} 人想看</span>
                </div>				
                <div class="comments">
					<span class="ll b">微博...</span><span style="float:right"><a href="/movie/{id}/comments" target="_blank">更多 &raquo;</a></span>
					<div class="clear"></div>
					<input type="hidden" id="menu{k}_val" value="{id}" />
					<div id="hotcomments_{id}">	
						<!-- IF comment -->
						<div class="avatars"><a href="/people/{comment.uid}/"><img src="{comment.profile_image_url}"/></a></div>
						<div class="contents"><a href="/people/{comment.uid}/">{comment.username}</a>：{comment.contents}</div>
						<!-- ELSE -->
						没有最新短评。
						<!-- ENDIF comment -->
					</div>
                </div>
            </div>
			<!-- END hotmovies -->
			<ul class="menu" id="hot_movies_menu">			
			<!-- BEGIN hotmovies -->
				<li  class="{styles}" id="menu{k}">
					<div class="clearfix">
					<em></em>
						<div class="arrow"></div>
						<div class="img"><a href="/movie/{id}/"><img src="{PUB}upload/thumb/s{thumb}" height="48px"></a></div>
						<div class="intro"><a href="/movie/{id}/" class="title">{title}</a><span class="allstar{rating_img}" class="ll"></span>{rating}</div>
					</div>
				</li>
			<!-- END hotmovies -->
			</ul>
</div>

<div class="movie_new">
	<h2 class="green_tab clearfix"><div class="ll">上映中……</div></h2>
	<ul class="content clearfix"  id="newcontent1">	
	<!-- BEGIN play_movie -->
		<li class="clearfix">
		<div class="img"><a href="/movie/{id}/"><img src="{PUB}upload/thumb{thumb}" height="97"/></a></div>
			<div class="intro">
				<h3><span>{k}</span><a href="/movie/{id}/">{title}</a></h3>
				<div class="star clearfix"><span class="allstar{rating_img}"></span>{rating}</div>{subdesc}			
				<span class="pl"></span>
			</div>
		</li>			
	<!-- END play_movie -->
	</ul>         
</div>

<script type="text/javascript">
function cPrevNext(i){
	prev_comments = $.ajax({url:"/movie/ajax/maincomment/" + i,async:false});
	result = prev_comments.responseText;
	if (result == 'empty'){
		alert('没有最新短评了。');
	}else{
		$("#commentsBox").html(result);
	}
}
function rPrevNext(i){
	prev_comments = $.ajax({url:"/movie/ajax/mainreview/" + i,async:false});
	result = prev_comments.responseText;
	if (result == 'empty'){
		alert('没有最新影评了。');
	}else{
		$("#reviewsBox").html(result);
	}
}
$(document).ready(function(){
	$("a.cTab").click(function (){
		$(".cTab").removeClass("active");
		$(this).addClass("active");			
		$(".cBox").hide();
		var content_show = $(this).attr("title");			
		$("#"+content_show).show();
	});
	$("a.rTab").click(function (){
		$(".rTab").removeClass("active");
		$(this).addClass("active");			
		$(".rBox").hide();
		var content_show = $(this).attr("title");			
		$("#"+content_show).show();
	});
});

</script>
<!--短评-->

<div class="tab_area">
	<div class="fleft"><span style="font-size:15px">微博：</span><span class="pl"></span></div>
	<ul class="tabs">
		<li><a href="javascript:void(0)" title="cBox_1" class="tab active cTab" onfocus="this.blur()">最新的</a></li>
		<li><a href="javascript:void(0)" title="cBox_2" class="tab cTab"  onfocus="this.blur()">朋友的</a></li>
	</ul> 		
    <div id="cBox_1" class="content cBox" style="padding-top:10px">
		<div id="commentsBox">
		<!-- BEGIN hot_comments -->
		<div class='ctsh' style="float:left;margin-bottom:10px;border-bottom:1px #ccc dashed;padding-bottom:10px">
			<div style="float:left;width:55px;"><a href="/people/{uid}/" target="_blank"><img class="pil" src="{profile_image_url}"/></a></div>
			<div style="float:right;;width:535px;">
			<a href="/people/{uid}/">{username}</a>&nbsp;<span style="color:#999">评论</span>&nbsp;<a href="/movie/{mid}/">{mtitle}</a>：
			<span id="message_{weibo_id}">{contents} </span>
			</div>	
			<div align="right" id="{weibo_id}"><a href="javascript:rt({weibo_id},{mid})" value="" title="转发到新浪微博" >转发(<span id="rt_sum{weibo_id}">{rt}</span>)</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a >收藏</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="javascript:Comment({weibo_id},{mid})" value=""  title="评论到新浪微博" >评论(<span id="re_sum{weibo_id}">{comments}</span>)</a></div>
		</div>
		<div class="clear"></div>
		<!-- END hot_comments -->	
		<p class="pl" align="right">
		<a href="javascript:;" onclick="cPrevNext(1);" class="prev1" >上一页</a>&nbsp;|&nbsp;
		<a href="javascript:;" onclick="cPrevNext(2);" class="next1">下一页</a></p>
		</div>
	</div>
	 <div id="cBox_2" class="content hide cBox" style="padding-top:10px">
		<!-- IF friendComments -->
			<div id="commentsBox">		
				<!-- BEGIN friendComments -->
				<div class='ctsh' style="float:left;margin-bottom:10px;border-bottom:1px #ccc dashed;padding-bottom:10px">
				<div style="float:left;width:55px;"><a href="/people/{uid}/" target="_blank"><img class="pil" src="{profile_image_url}"/></a></div>
				<div style="float:right;;width:535px;">
				<a href="/people/{uid}/">{username}</a>&nbsp;<span style="color:#999">评论</span>&nbsp;<a href="/movie/{mid}/">{mtitle}</a>：
				<span id="message_{weibo_id}">{contents} </span>
				</div>	
				<div align="right" id="{weibo_id}"><a href="javascript:rt({weibo_id},{mid})" value="" title="转发到新浪微博" >转发(<span id="rt_sum{weibo_id}">{rt}</span>)</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a >收藏</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp; <a href="javascript:Comment({weibo_id},{mid})" value=""  title="评论到新浪微博" >评论(<span id="re_sum{weibo_id}">{comments}</span>)</a></div>
				</div>
				<div class="clear"></div>
				<!-- END friendComments -->
				<p class="pl" align="right">
				<a href="javascript:;" onclick="cPrevNext(1);" class="prev1" >上一页</a>&nbsp;|&nbsp;
				<a href="javascript:;" onclick="cPrevNext(2);" class="next1">下一页</a></p>
			</div>
		<!-- ELSE -->
			您还未登录，登录后才能看到您朋友的短评。
		<!-- ENDIF friendComments -->
	</div>
	<div class="clear"></div>
</div>
<!--影评--> 
<div class="tab_area">
		<div class="fleft"><span style="font-size:15px">影评：</span><span class="pl"></span></div>
        <ul class="tabs">
			<li><a href="javascript:void(0)" title="rBox_1" class="tab active rTab" onfocus="this.blur()">热门的</a></li>
			<li><a href="javascript:void(0)" title="rBox_2" class="tab rTab"  onfocus="this.blur()">最新的</a></li>
        </ul> 

	<div id="rBox_1" class="content rBox">
	<div id="reviewsBox">
		<!-- BEGIN hot_review -->
		<div class='ctsh'>
		<ul class="tlst clearfix" style="clear:both">
			<li class="nlst"><h3><a href="/review/{id}/" target="_blank">{title}</a><div class="rr"><a href="/review/{id}/" target="_blank"><img src="{PUB}img/arrow2.gif"/></a></div></h3>
			</li>
			<li class="ilst" style="clear:both;"><a href="/people/{uid}/" target="_blank"><img class="pil" src="{profile_image_url}"/></a></li>
			<li class="clst">
				<span class="pl ll obss"><span class="starb">
				<a href="/people/{uid}/">{username}</a>&nbsp;</span>评论 <a href="/movie/{mid}/">{mtitle}</a><span class="stars{stars}"></span></span><br/><br/>
				<div>{contents}...... 
				<a class="pl" href="/review/{id}/">({reply}回应)</a><br/>
				<div class="pl clearfix"><span class="fleft">{addtime} &nbsp; &nbsp;</span></div></div>
			</li>
		</ul>
		</div>
		<div class="clear"></div>
		<!-- END hot_review -->
		<p class="pl" align="right"> 
		<a href="javascript:;" onclick="rPrevNext(1);" class="prev1" >上一页</a>&nbsp;|&nbsp;
		<a href="javascript:;" onclick="rPrevNext(2);" class="next1">下一页</a></p>
	</div>
		</div>
		<div id="rBox_2" class="content hide rBox">
		<!-- BEGIN new_review -->
		<div class='ctsh'>
		<ul class="tlst clearfix" style="clear:both">
			<li class="nlst"><h3><a href="/review/{id}/" target="_blank">{title}</a><div class="rr"><a href="/review/{id}/" target="_blank"><img src="{PUB}img/arrow2.gif"/></a></div></h3>
			</li>
			<li class="ilst" style="clear:both;"><a href="/people/{uid}/" target="_blank"><img class="pil" src="{profile_image_url}"/></a></li>
			<li class="clst">
				<span class="pl ll obss"><span class="starb">
				<a href="/people/{uid}/">{username}</a>&nbsp;</span>评论 <a href="/movie/{mid}/">{mtitle}</a><span class="stars{stars}"></span></span><br/><br/>
				<div>{contents}...... 
				<a class="pl" href="/review/{id}/">({reply}回应)</a><br/>
				<div class="pl clearfix"><span class="fleft">{addtime} &nbsp; &nbsp;</span></div></div>
			</li>
		</ul>
		</div>
		<div class="clear"></div>
		<!-- END new_review -->
		<p class="pl" align="right"> 
		<a href="javascript:;" onclick="rPrevNext(1);" class="prev1" >上一页</a>&nbsp;|&nbsp;
		<a href="javascript:;" onclick="rPrevNext(2);" class="next1">下一页</a></p>

		</div>
</div>

</div>

<!--Sidebar-->

<div class="aside">
<h2 >热度指数走势图...(最近2周)</h2>
<div class="indent" id="collector">
	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0"
	width="321" height="200" id="chart" align="middle">
	<param name="allowScriptAccess" value="sameDomain"/>
	<param name="movie" value="{PUB}swf/open-flash-chart.swf"/>
	<param name="FlashVars" value="data-file=/movie/hotmovie/hotchart/{ftimes}/"/>
	<param name="quality" value="high"/>
	<param name="bgcolor" value="#FFFFFF"/>
	<embed src="{PUB}swf/open-flash-chart.swf" FlashVars="data-file=/movie/hotmovie/hotchart/{ftimes}/"
	quality="high" bgcolor="#FFFFFF" width=321 height=200
	name="chart" align="middle" allowScriptAccess="sameDomain"
	type="application/x-shockwave-flash"
	pluginspage="http://www.macromedia.com/go/getflashplayer"/>
	</object>
</div>

<!-- IF islogin -->
<h2>你关注的人的动态：</h2>
		<!-- BEGIN friendCollect -->
		<div style="margin-bottom:5px;border-bottom:1px #ddd dashed;padding-bottom:5px">
			<div style="float:left;width:45px;"><a href="/people/{uid}/"><img src="{profile_image_url}" height="40" width="40"/></a></div>
			<div style="float:right;;width:260px"><a href="/people/{uid}/">{username}</a>&nbsp; <span>看了</span>&nbsp; {movie}</div>	
			<div class="clear"></div>
		</div>		
		<!-- END friendCollect -->
		<span class="rr">展开...</span>
		<div class="clear"></div><br>
		
		<!-- BEGIN friendWish -->
		<div style="margin-bottom:5px;border-bottom:1px #ddd dashed;padding-bottom:5px">
			<div style="float:left;width:45px;"><a href="/people/{uid}/"><img src="{profile_image_url}" height="40" width="40"/></a></div>
			<div style="float:right;;width:260px"><a href="/people/{uid}/">{username}</a>&nbsp; <span>想看</span>&nbsp; {movie}</div>	
			<div class="clear"></div>
		</div>		
		<!-- END friendWish -->
		<span class="rr">展开...</span>
		<div class="clear"></div><br>
<!-- ELSE -->
您还未登录，无法显示你关注的人的动态
<!-- ENDIF islogin -->

<div class="side_ads">{ads_9}</div>

</div>




</div>
</div>

<!-- INCLUDE footer.htm -->
</body>
</html>